package com.hxhy.bean;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class BElectronic {
	private String id;
	private String accountids;// 账目id
	private String[] ids;// 账目id
	private String houseid;
	private String tel;// 手机号
	private BigDecimal money;// 合计金额
	private String cardno;// 发票类型(个人/单位)
	private String email;// 邮箱
	private String gfmc;// 购方名称
	private String nsrsbh;// 购方税号
	private String khh;// 开户行
	private String dz;// 购方地址
	private String invoicemethod;// 发票类型
	private String invoicekind;// 发票属性(蓝票/红票)
	private String invoicetime;// 开票时间
	private String lsh;// 流水号
	private String invoicenum;// 发票号
	private String invoiceversion;// 版本号
	private String reverselsh;// 蓝票流水号
	private String pdfbytes;// PDF数据
	private String pdfpath;// PDF地址
	private String yzm;// 验证码
	private String skr;// 收款人
	private String kpr;// 开票人
	private String fhr;// 复核人
	private String returncode;// 状态码
	private String returnstate;// 信息说明
	private String creater;
	private String createtime;
	private String remark;// 备注
	private String flag;// 备注

	private BElectronic be;
	private List<Account> acts;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAccountids() {
		return accountids;
	}

	public void setAccountids(String accountids) {
		this.accountids = accountids;
		if (accountids != null)
			this.ids = accountids.split(",");
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String getHouseid() {
		return houseid;
	}

	public void setHouseid(String houseid) {
		this.houseid = houseid;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public String getCardno() {
		return cardno;
	}

	public void setCardno(String cardno) {
		this.cardno = cardno;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getGfmc() {
		return gfmc;
	}

	public void setGfmc(String gfmc) {
		this.gfmc = gfmc;
	}

	public String getNsrsbh() {
		return nsrsbh;
	}

	public void setNsrsbh(String nsrsbh) {
		this.nsrsbh = nsrsbh;
	}

	public String getKhh() {
		return khh;
	}

	public void setKhh(String khh) {
		this.khh = khh;
	}

	public String getDz() {
		return dz;
	}

	public void setDz(String dz) {
		this.dz = dz;
	}

	public String getInvoicemethod() {
		return invoicemethod;
	}

	public void setInvoicemethod(String invoicemethod) {
		this.invoicemethod = invoicemethod;
	}

	public String getInvoicekind() {
		return invoicekind;
	}

	public void setInvoicekind(String invoicekind) {
		this.invoicekind = invoicekind;
	}

	public String getInvoicetime() {
		return invoicetime;
	}

	public void setInvoicetime(String invoicetime) {
		this.invoicetime = invoicetime;
	}

	public String getLsh() {
		return lsh;
	}

	public void setLsh(String lsh) {
		this.lsh = lsh;
	}

	public String getInvoicenum() {
		return invoicenum;
	}

	public void setInvoicenum(String invoicenum) {
		this.invoicenum = invoicenum;
	}

	public String getInvoiceversion() {
		return invoiceversion;
	}

	public void setInvoiceversion(String invoiceversion) {
		this.invoiceversion = invoiceversion;
	}

	public String getReverselsh() {
		return reverselsh;
	}

	public void setReverselsh(String reverselsh) {
		this.reverselsh = reverselsh;
	}

	public String getPdfbytes() {
		return pdfbytes;
	}

	public void setPdfbytes(String pdfbytes) {
		this.pdfbytes = pdfbytes;
	}

	public String getPdfpath() {
		return pdfpath;
	}

	public void setPdfpath(String pdfpath) {
		this.pdfpath = pdfpath;
	}

	public String getYzm() {
		return yzm;
	}

	public void setYzm(String yzm) {
		this.yzm = yzm;
	}

	public String getSkr() {
		return skr;
	}

	public void setSkr(String skr) {
		this.skr = skr;
	}

	public String getKpr() {
		return kpr;
	}

	public void setKpr(String kpr) {
		this.kpr = kpr;
	}

	public String getFhr() {
		return fhr;
	}

	public void setFhr(String fhr) {
		this.fhr = fhr;
	}

	public String getReturncode() {
		return returncode;
	}

	public void setReturncode(String returncode) {
		this.returncode = returncode;
	}

	public String getReturnstate() {
		return returnstate;
	}

	public void setReturnstate(String returnstate) {
		this.returnstate = returnstate;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public BElectronic getBe() {
		return be;
	}

	public void setBe(BElectronic be) {
		this.be = be;
	}

	public List<Account> getActs() {
		return acts;
	}

	public void setActs(List<? extends Object> list) {
		if (this.acts == null)
			this.acts = new ArrayList<Account>();
		this.acts.clear();
		for (Object obj : list) {
			this.acts.add((Account) obj);
		}
	}

}
